package com.hall.items.aggr;

import java.util.List;

import dml.game.weapon.aggr.EquipedWeapon;
import dml.game.weapon.aggr.EquipedWeapons;
import dml.game.weapon.aggr.WeaponPack;

public class MyPlayerWeaponPack implements WeaponPack<MyEquipType, MyWeapon> {

	private long id;

	private long playerId;

	private int packNum;

	private EquipedWeapons<MyEquipType, MyWeapon> equipedWeapons = new EquipedWeapons<>();

	private boolean currentPack;

	public List<EquipedWeapon<MyEquipType, MyWeapon>> getEquipedWeaponList() {
		return equipedWeapons.getEquipedWeaponList();
	}

	public List<Long> getEquipedWeaponIds() {
		return (List) equipedWeapons.getEquipedWeaponIds();
	}

	@Override
	public void setId(Object id) {
		this.id = (long) id;
	}

	@Override
	public Object getId() {
		return id;
	}

	public EquipedWeapons<MyEquipType, MyWeapon> getEquipedWeapons() {
		return equipedWeapons;
	}

	public void setEquipedWeapons(
			EquipedWeapons<MyEquipType, MyWeapon> equipedWeapons) {
		this.equipedWeapons = equipedWeapons;
	}

	@Override
	public Object getPlayerId() {
		return playerId;
	}

	@Override
	public void setPlayerId(Object playerId) {
		this.playerId = (long) playerId;
	}

	public int getPackNum() {
		return packNum;
	}

	public void setPackNum(int packNum) {
		this.packNum = packNum;
	}

	public boolean isCurrentPack() {
		return currentPack;
	}

	public void setCurrentPack(boolean currentPack) {
		this.currentPack = currentPack;
	}

}
